package org.aswing.plaf.basic;

extern class BasicMenuItemUI extends org.aswing.plaf.BaseComponentUI, implements org.aswing.plaf.MenuElementUI {
	function new() : Void;
	function getPath() : Array<Dynamic>;
	function processKeyEvent(p0 : UInt) : Void;
	private var accelTextField : flash.text.TextField;
	private var acceleratorFont : org.aswing.ASFont;
	private var acceleratorForeground : org.aswing.ASColor;
	private var acceleratorSelectionForeground : org.aswing.ASColor;
	private var arrowIcon : org.aswing.Icon;
	private var checkIcon : org.aswing.Icon;
	private var defaultTextIconGap : Int;
	private var disabledForeground : org.aswing.ASColor;
	private var menuItem : org.aswing.JMenuItem;
	private var menuItemLis : Dynamic;
	private var selectionBackground : org.aswing.ASColor;
	private var selectionForeground : org.aswing.ASColor;
	private var textField : flash.text.TextField;
	private function __menuItemAct(p0 : org.aswing.event.AWEvent) : Void;
	private function __menuItemRollOut(p0 : flash.events.MouseEvent) : Void;
	private function __menuItemRollOver(p0 : flash.events.MouseEvent) : Void;
	private function __menuStateChanged(p0 : flash.events.Event) : Void;
	private function getAcceleratorText(p0 : org.aswing.JMenuItem) : String;
	private function getIcons() : Array<Dynamic>;
	private function getPreferredMenuItemSize(p0 : org.aswing.JMenuItem, p1 : org.aswing.Icon, p2 : org.aswing.Icon, p3 : Int) : org.aswing.geom.IntDimension;
	private function getPropertyPrefix() : String;
	private function installComponents() : Void;
	private function installDefaults() : Void;
	private function installIcon(p0 : org.aswing.Icon) : Void;
	private function installListeners() : Void;
	private function isMenu() : Bool;
	private function isTopMenu() : Bool;
	private function layoutMenuItem(p0 : org.aswing.ASFont, p1 : String, p2 : org.aswing.ASFont, p3 : String, p4 : org.aswing.Icon, p5 : org.aswing.Icon, p6 : org.aswing.Icon, p7 : Int, p8 : Int, p9 : Int, p10 : Int, p11 : org.aswing.geom.IntRectangle, p12 : org.aswing.geom.IntRectangle, p13 : org.aswing.geom.IntRectangle, p14 : org.aswing.geom.IntRectangle, p15 : org.aswing.geom.IntRectangle, p16 : org.aswing.geom.IntRectangle, p17 : Int, p18 : Int) : String;
	private function paintArrowIcon(p0 : org.aswing.JMenuItem, p1 : Bool, p2 : org.aswing.graphics.Graphics2D, p3 : Int, p4 : Int) : Void;
	private function paintCheckIcon(p0 : org.aswing.JMenuItem, p1 : Bool, p2 : org.aswing.graphics.Graphics2D, p3 : Int, p4 : Int) : Void;
	private function paintIcon(p0 : org.aswing.JMenuItem, p1 : org.aswing.Icon, p2 : org.aswing.graphics.Graphics2D, p3 : Int, p4 : Int) : Void;
	private function paintMenuBackground(p0 : org.aswing.JMenuItem, p1 : org.aswing.graphics.Graphics2D, p2 : org.aswing.geom.IntRectangle, p3 : org.aswing.ASColor) : Void;
	private function paintMenuItem(p0 : org.aswing.JMenuItem, p1 : org.aswing.graphics.Graphics2D, p2 : org.aswing.geom.IntRectangle, p3 : org.aswing.Icon, p4 : org.aswing.Icon, p5 : org.aswing.ASColor, p6 : org.aswing.ASColor, p7 : Int) : Void;
	private function paintTextField(p0 : org.aswing.JMenuItem, p1 : org.aswing.geom.IntRectangle, p2 : flash.text.TextField, p3 : String, p4 : org.aswing.ASFont, p5 : org.aswing.ASColor, p6 : Bool) : Void;
	private function resetRects() : Void;
	private function setIconVisible(p0 : org.aswing.Icon, p1 : Bool) : Void;
	private function shouldPaintSelected() : Bool;
	private function uninstallComponents() : Void;
	private function uninstallDefaults() : Void;
	private function uninstallIcon(p0 : org.aswing.Icon) : Void;
	private function uninstallListeners() : Void;
	private function useCheckAndArrow() : Bool;
	static var MAX_ACC_WIDTH : String;
	static var MAX_TEXT_WIDTH : String;
}
